package com.system.exam.admin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 问题答案表
 * @TableName bus_exam_question_item
 */
@TableName(value ="bus_exam_question_item")
@Data
public class BusExamQuestionItem implements Serializable {
    /**
     * 选项id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 问题ID
     */
    @TableField(value = "question_id")
    private Long questionId;

    /**
     * 标题
     */
    @TableField(value = "title")
    private String title;

    /**
     * 排序
     */
    @TableField(value = "sort")
    private Integer sort;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}